package com.shangxian.giveithome.service;


import com.shangxian.giveithome.entity.PutUserFei;
import com.shangxian.giveithome.entity.RoleUser;
import com.shangxian.giveithome.entity.UserDataUpdate;
import com.shangxian.giveithome.entity.RolesUser;
import com.shangxian.giveithome.entity.UserDetails;
import org.springframework.stereotype.Service;

@Service
public interface FeiUserService {

    void update_role(RoleUser roleUser);

    UserDetails queryByOpenId(String openId);

    void update_user_data(UserDataUpdate userDataUpdate);

    RolesUser get_role(Integer id);

    void updateUser(PutUserFei putUserFei);

    Integer updateUserVolunteerTime(Long usId);

    void updateUserDataReduce(UserDataUpdate userDataUpdate);
}
